<script setup>
const tonext=()=>{
  //跳转到子页面
  uni.navigateTo({url:'/studens/return/denglu'})
}
const tonext2=()=>{
  //跳转到子页面
  uni.navigateTo({url:'/teacher/demo/TeacherLogin'})
}
</script>
<template>
<view id="main">
 <view id="img6"> <image class="tp" src="/static/image/favicon.ico"></image></view>
  <view class="bankuang">
    <view class="student" @click="tonext">
      <button class="bk" type="primary">
        <text class="text" >我是学生</text>
      </button>
    </view>
    <view class="teacher" @click="tonext2">
      <button class="bk" type="primary">
        <text class="text">我是辅导员</text>
      </button>
    </view>
  </view>
</view>
</template>
<style>
#main{
  height: 100%;
  background: url("../../static/image/bodybg.jpg");
  background-size: 100% 100%;
}
#img6{
  display: flex;
  justify-content: center;
}
.tp{
  width: 150px;
  height: 150px;
  margin-top: 100px;
}
.bankuang{
  justify-content: center;
  margin-top: 120px;
}
.bk{
  width: 60%;
  height: 120px;
  padding: 10px;
  border-radius: 16px;
}
.student{

  position:relative;
  top: 90px;
}
.teacher{
  position:relative;
  top:140px;
}
.text {
  font-size: 40px;

}
</style>
